"""
计算 1-100 偶数元素的和
"""

# sum 计算之和
sum = 0 
# 当前指针
currentCounter = 0

while currentCounter <= 100:
    currentCounter = currentCounter + 1
    if (currentCounter % 2 != 0):
        continue
    sum = sum + currentCounter

print("100以为偶数之和为:" + str(sum))